package cn.ciis.basic.routes;

import cn.ciis.basic.upload.UploadController;
import cn.ciis.front.index.IndexController;
import com.jfinal.config.Routes;

/** @author 冉志林 */
public class FrontRoutes extends Routes {
  @Override
  public void config() {
    setBaseViewPath("/_view/_front/templates");
    //匹配路由信息
    add("/", IndexController.class, "/default");
    add("/common/upload", UploadController.class);
  }
}